package tests;

import common.Utils;
import org.openqa.selenium.By;

/**
 * @author 陶贞
 * @version 1.0
 */
public class DetailPage extends Utils {
	public static String url = "http://localhost:8080/blog_detail.html";
	public DetailPage() {
		super(url);
	}

	public void detailPageSuc(){
		//访问博客详情页的元素来判断是否访问成功
		driver.findElement(By.cssSelector("body > div.container > div.right > div > div.title"));
	}

}
